package com.vitabuybuy.tv.ui.shopcenter.adapter

import androidx.recyclerview.widget.RecyclerView
import com.vitabuybuy.tv.R
import com.vitabuybuy.tv.databinding.ItemCommodityDetailBinding
import com.library.common.base.BindRecycAdapter

class CommodityDetailListAdapter : BindRecycAdapter<ItemCommodityDetailBinding, String>() {
    override fun onBindViewHolder(
        mBinding: ItemCommodityDetailBinding,
        itemData: String,
        holder: RecyclerView.ViewHolder,
        position: Int
    ) {
        mBinding.itemData = itemData
    }

    override fun normalViewId(viewType: Int): Int {
        return R.layout.item_commodity_detail
    }

}
